﻿using UnityEngine;

[CreateAssetMenu]
public class XEffectConfigObject : ScriptableObject
{
    public string[] effectFiles = new string[] { string.Empty };

    public XBoneNogType linkBone = XBoneNogType.Center;
    public XEffectComponent.EffectFollowType follow = XEffectComponent.EffectFollowType.Both;

    /// <summary>
    /// 
    /// </summary>
    /// <param name="index"></param>
    /// <returns></returns>
    public string getRes(int index)
    {
        return effectFiles[index];
    }
}
